package cn.jiedanba.cacert.mapper;

import java.util.List;

import com.mybatisflex.core.BaseMapper;

import cn.jiedanba.cacert.model.CertPolicy;

/**
 * 证书颁发策略
 * 
 * @author dell
 *
 */
public interface CertPolicyMapper extends BaseMapper<CertPolicy> {

	/**
	 * 根据模板id查询证书策略
	 * 
	 * @param templateId
	 * @return
	 */
	List<CertPolicy> findByTemplateId(String templateId);
}
